package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Newspaper;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INewspaper {
    List<Newspaper> list();

    PageInfo<Newspaper> page(BaseRequest baseRequest);

    void save(Newspaper Newspaper);

    Newspaper getById(Integer valueOf);

    void deleteById(Integer id);

    void update(Newspaper newspaper);

    Integer deleteByIds(List<Integer> ids);


}
